package com.sacc.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 滚~韬
 * @date 2022/4/4 18:34
 */
@Data
@TableName("infographic")
public class Infographic {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("image_url")
    private String imageUrl;//文件图片路径
    @TableField("state")
    private Integer state;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT,value = "create_time")
    private LocalDateTime createTime;
}
